
// 新春飞行符 地图传送
// {"地图":1001,"地图x":300,"地图y":80}
// "data":[1001,237,113]
// @ts-ignore
export async function execute(client_id, message_json) {
    let characters = G.Characters.get_current_login_characters(client_id);
    if (_CharactersItamCallbackData.has(characters["id"])) {
        let callback_data = _CharactersItamCallbackData.get(characters["id"]);
        let items_key = callback_data[0];
        let index = callback_data[1];
        G.EventCallback.publish_event("使用道具", [characters, items_key, index, "新春飞行符"]);
        G.MapUtils.move_characters_to_map(characters, message_json["地图"], message_json["地图x"], message_json["地图y"]);
    }
}